// 自动生成模板P201Delivers
package model

import (
	"gorm.io/gorm"
	"time"
)

// 如果含有time.Time 请自行import time包
type P201Delivers struct {
	gorm.Model
	CustCreateTime time.Time `json:"custCreateTime" form:"custCreateTime" gorm:"column:cust_create_time;comment:''客户创建时间'';type:datetime;"`
	// CustCreateTime LocalTime `json:"custCreateTime" form:"custCreateTime" gorm:"column:cust_create_time;comment:''客户创建时间'';type:datetime;"`
	CustId        string    `json:"custId" form:"custId" gorm:"column:cust_id;comment:''客户编号'';type:varchar(30);size:30;"`
	CustName      string    `json:"custName" form:"custName" gorm:"column:cust_name;comment:''客户名称'';type:varchar(30);size:30;"`
	CustkeyImport int       `json:"custkeyImport" form:"custkeyImport" gorm:"column:custkeyImport;comment:''客户密钥导入'';type:int(10);size:10;"`
	DeliverTime   time.Time `json:"deliverTime" form:"deliverTime" gorm:"column:deliver_time;comment:''发货时间'';type:datetime;"`
	// DeliverTime   LocalTime `json:"deliverTime" form:"deliverTime" gorm:"column:deliver_time;comment:''发货时间'';type:datetime;"`
	DeliverReason int    `json:"deliverReason" form:"deliverReason" gorm:"column:deliverReason;comment:''发货原因'';type:int(10);size:10;"`
	DeployMode    int    `json:"deployMode" form:"deployMode" gorm:"column:deployMode;comment:''部署模式'';type:int(10);size:10;"`
	FirmwareVer   string `json:"firmwareVer" form:"firmwareVer" gorm:"column:firmware_ver;comment:''固件版本'';type:varchar(30);size:30;"`
	KeyCtrlMode   int    `json:"keyCtrlMode" form:"keyCtrlMode" gorm:"column:keyCtrlMode;comment:''密钥控制模式'';type:int(10);size:10;"`
	KmsVer        string `json:"kmsVer" form:"kmsVer" gorm:"column:kmsVer;comment:''密钥系统版本'';type:varchar(30);size:30;"`
	PlatVer       int    `json:"platVer" form:"platVer" gorm:"column:platVer;comment:''平台版本'';type:int(10);size:10;"`
}

func (P201Delivers) TableName() string {
	return "p201_delivers"
}
